package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社区安防
对象 community_security
 * 
 * @author ruoyi
 * @date 2021-06-29
 */
public class CommunitySecurity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long csId;

    /** 所属小区 */
    @Excel(name = "所属小区")
    private Long companyId;
    /** 所属小区 */
    @Excel(name = "所属小区")
    private String companyName;

    /** 视频流 */
    @Excel(name = "视频流")
    private String csUrl;

    /** name */
    @Excel(name = "name")
    private String csName;

    /** 厂商 */
    @Excel(name = "厂商")
    private String csType;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public void setCsId(Long csId)
    {
        this.csId = csId;
    }

    public Long getCsId() 
    {
        return csId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCsUrl(String csUrl) 
    {
        this.csUrl = csUrl;
    }

    public String getCsUrl() 
    {
        return csUrl;
    }
    public void setCsName(String csName) 
    {
        this.csName = csName;
    }

    public String getCsName() 
    {
        return csName;
    }
    public void setCsType(String csType) 
    {
        this.csType = csType;
    }

    public String getCsType() 
    {
        return csType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("csId", getCsId())
            .append("companyId", getCompanyId())
            .append("csUrl", getCsUrl())
            .append("csName", getCsName())
            .append("csType", getCsType())
            .toString();
    }
}
